import type { IPage } from '@/types'
import request from '@/utils/https'

export function getListByPage(data: IPage) {
  return request<any[]>({
    url: '/questionPageList',
    method: 'post',
    data
  })
}

export function askQuestion(data: IPage) {
  return request<any[]>({
    url: '/askQuestion',
    method: 'post',
    data
  })
}
